package com.swh.xbsc.mapper;


import com.swh.xbsc.entity.Article;
import org.apache.ibatis.annotations.SelectProvider;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

@org.apache.ibatis.annotations.Mapper
public interface ArticleMapper extends Mapper<Article> {
    @SelectProvider(type = ArticleProvider.class,method = "selectPage")
    List<Article>selectPage(Map<String,Object> map);

    @SelectProvider(type = ArticleProvider.class,method = "selectPage2")
    List<Article>selectPage2(Map<String,Object> map);

}